export default class UiUtil{
    public static move(this:UiUtil,node:cc.Node,targetParent:cc.Node){
		let wp = node.convertToWorldSpaceAR(cc.v3(0,0,0));
		let pp = targetParent.convertToNodeSpaceAR(wp);
		node.removeFromParent();
		node.position = pp;
		targetParent.addChild(node);
        return this;
    }
} 